package com.hyz.service;

import com.hyz.pojo.ResponseResult;
import com.hyz.pojo.assetSecondment.AssetSecondmentRequest;
import com.hyz.pojo.assetSecondment.AssetSecondmentResponse;

import java.util.List;

/**
 * @author HGD
 * @date 2022/10/5 14:18
 */
public interface ApproveService {
    /**
     * 获取资产借用申请
     *
     * @return 资产借用申请列表
     */
    ResponseResult<List<AssetSecondmentResponse>> apGetAssetSecondments();

    /**
     * 更新资产借用申请
     *
     * @param request 申请id和判断结果
     * @return 资产借用申请
     */
    ResponseResult<List<AssetSecondmentResponse>> apUpdateAssetSecondment(AssetSecondmentRequest request);
}
